package com.shigu.admin.common.vo;

import java.io.Serializable;
import java.util.List;

/**
 * 方法
 * Created by zhaohongbo on 17/7/10.
 */
public class FunctionVO implements Serializable{
    /**
     * 方法ID
     */
    private Long functionId;
    /**
     * 标题
     */
    private String title;
    /**
     * 1、弹窗，2、直接请求
     */
    private Integer type;
    /**
     * js文本
     */
    private String jsScript;
    /**
     * 弹窗目标页面
     */
    private String redirectTo;
    /**
     * 位置
     */
    private Integer locationType;

    /**
     * 方法中的sql,有功能时才有用
     */
    private List<SqlVO> sqlList;
    /**
     * 权限
     */
    private String permissions;

    public Integer getLocationType() {
        return locationType;
    }

    public void setLocationType(Integer locationType) {
        this.locationType = locationType;
    }

    public Long getFunctionId() {
        return functionId;
    }

    public void setFunctionId(Long functionId) {
        this.functionId = functionId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getJsScript() {
        return jsScript;
    }

    public void setJsScript(String jsScript) {
        this.jsScript = jsScript;
    }

    public String getRedirectTo() {
        return redirectTo;
    }

    public void setRedirectTo(String redirectTo) {
        this.redirectTo = redirectTo;
    }

    public List<SqlVO> getSqlList() {
        return sqlList;
    }

    public void setSqlList(List<SqlVO> sqlList) {
        this.sqlList = sqlList;
    }

    public String getPermissions() {
        return permissions;
    }

    public void setPermissions(String permissions) {
        this.permissions = permissions;
    }
}
